package AIExtended;

import java.util.LinkedList;
import java.util.List;

import jgam.Move;
import jgam.Player;
import jgam.SingleMove;

public class AIMove implements Move
{
    private Player currentPlayer;
    private SingleMove[] moves;
    
    public AIMove(SingleMove[] moves, Player currentPlayer)
    {
    	this.currentPlayer = currentPlayer;
    	this.moves = moves;
    }
	
	public Player player() {
		return this.currentPlayer;
	}

	public void setPlayer(Player player) {
		this.currentPlayer = player;
		
	}

	public List getSingleMoves() {
		LinkedList<SingleMove> moves = new LinkedList<>();
		for (int i = 0; i < this.moves.length; i++) 
		{
			moves.add(i, this.moves[i]);
		}
		return moves;
	}

	@Override
	public int compareTo(Object arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int from() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int to() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int length() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getSingleMovesCount() {
		// TODO Auto-generated method stub
		return 0;
	}

}

